#include <iondrive/plane.h>
using namespace iondrive;


int main(void)
{
	glsl::vec3 a,b,c;
	
	a = glsl::init_vec(-1.0f, 1.0f, 1.0f);
	b = glsl::init_vec( 2.0f,-2.0f, 2.0f);
	c = glsl::init_vec( 3.0f, 3.0f,-3.0f);
    
	plane::plane p(a,b,c);
    
    return p.which_side(glsl::init_vec(-1.0f, -2.0f, -3.0f));
}


